/*** admin API*/
const requstUtil = require("../../utils/requstUtil.js");
/**
 * path: /admin/fleamarket/delete
 * description: 
 */
export function deleteFleamarketUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/fleamarket/delete`, params, `get`,null,token)
}

/**
 * path: /admin/fleamarket/lock
 * description: 
 */
export function lockFleamarketUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/fleamarket/lock`, params, `get`,null,token)
}

/**
 * path: /admin/lostfont/delete
 * description: 
 */
export function deleteLostfontUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/lostfont/delete`, params, `get`,null,token)
}

/**
 * path: /admin/lostfont/lock
 * description: 
 */
export function lockLostfontUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/lostfont/lock`, params, `get`,null,token)
}

/**
 * path: /admin/talk/delete
 * description: 
 */
export function deleteTalkUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/talk/delete`, params, `get`,null,token)
}

/**
 * path: /admin/talk/lock
 * description: 
 */
export function lockTalkUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/talk/lock`, params, `get`,null,token)
}

/**
 * path: /admin/user/add
 * description: 
 */
export function userAddUsingPOST(data,token){
    return requstUtil.requstCommon(`/admin/user/add`, null, `post`,data,token)
}

/**
 * path: /admin/user/addrole
 * description: 
 */
export function addRoleUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/user/addrole`, params, `get`,null,token)
}

/**
 * path: /admin/user/delete
 * description: 
 */
export function userDeleteUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/user/delete`, params, `get`,null,token)
}

/**
 * path: /admin/user/delrole
 * description: 
 */
export function deleteRoleUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/user/delrole`, params, `get`,null,token)
}

/**
 * path: /admin/user/enabled
 * description: 
 */
export function userEnabledUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/user/enabled`, params, `get`,null,token)
}

/**
 * path: /admin/user/getrolelimit
 * description: 
 */
export function getRoleLimitUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/user/getrolelimit`, params, `get`,null,token)
}

/**
 * path: /admin/user/getuserlimit
 * description: 
 */
export function getUserLimitUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/user/getuserlimit`, params, `get`,null,token)
}

/**
 * path: /admin/user/getuserroleall
 * description: 
 */
export function getUserRoleLimitUsingGET(params,token){
    return requstUtil.requstCommon(`/admin/user/getuserroleall`, params, `get`,null,token)
}

